﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace EMRI.EmergencyCare.Web.Models
{
    public class EmergencyType
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }
    public class CauseOfEmegrncy
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        public int EmergencyTypeID { get; set; }
        [MaxLength(150)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }
    public class MechanismOfInjury
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(150)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class AnatamicalOfEmergency
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(150)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class IncidentLocation
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(100)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class CheifComplaint
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(150)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }


    public class Location
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
 
   }

    public class District
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class Taluk
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        public int DistritID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class City
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        public int TalukID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class CareBefore
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
    }

    public class BroughtBy
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
    }

    public class DoctorList
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class SocialHabits
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(30)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class MCI
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [MaxLength(10)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }

    public class ParamedicList
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        public string ParamedicId { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }
    public class HospitalNameList
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        public int HospitalDistrictID { get; set; }
        [MaxLength(50)]
        public string Name { get; set; }
        public bool ISActive { get; set; }
    }
}